<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
</head>
<body>
<script>
    $(function () {
         var data={
             roleName:'l',
             note:'xq',
             pageParams:{
                 start:1,
                 limit:10
             }
         }

         $.post({
            url:'rolesa.do',
            contentType:'application/json',
             data:JSON.stringify(data),
            success:function (result) {
                console.log(result)
            }
         });

    })
</script>
</body>
</html>